



<%#
# login.rhtml
# 
# Created on 2007-9-12, 12:56:18
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<html>
  <head>
    <title>简单化休闲服饰</title>
    <%= stylesheet_link_tag "default" , :media => "all" %>
  </head>
  <body>
    <table width=600 align=center valign=center>
      <tr>
        <td height=100 align=center>
        <h1 class="title"><strong>简单化休闲服饰后台管理</strong></h1>
      </tr>
      <tr>
        <td align=center>
          <fieldset style="width:300">
            <legend>登录</legend>
            <% form_tag do %>
              <p><label for="login">用户名：</label>
              <%= text_field_tag 'login' %></p>
              <p><label for="password">密码：</label>
              <%= password_field_tag 'password' %></p>
              <!-- Uncomment this if you want this functionality-->
              <p><label for="remember_me">记住我：</label>
              <%= check_box_tag 'remember_me' %></p>
              <p><%= submit_tag '登录' %></p>
            <% end %>
          </fieldset>
        </td>
      </tr>
      <tr>
        <td height=20 align=center>
          <% if flash[:notice]%>
              <div id="notice"><%=flash[:notice]%> </div>
              <% end %>
            </td>
          </tr>
        </table>
      </body>
    </html>